<div class="pageFormContent" layoutH="56">
    <input type="hidden" name="order_count" id="{$domid}_order_count" value="{$datainfo.order_count}"/>
    <div class="panel">
        <h1>基本信息</h1>
        <div>
            <div class="unit">
                <label>
                    分类名称:
                </label>
                <input type="text" name="name" id="{$domid}_name" size="30" class="required" value="{$datainfo.name}">
            </div>
            <div class="unit">
                <label>
                    选择分类:
                </label>
                <select name="type" id="{$domid}_type">
                    <option value="1">按送礼对象</option>
                    <option value="2">按节日分类</option>
                    <option value="3">按礼仪场合</option>
                    <option value="0">无</option>
                </select>
            </div>
            <div class="unit">
                <label>
                    Title:
                </label>
                <input type="text" name="title" id="{$domid}_title" size="60" class="required" value="{$datainfo.title}">
            </div>
            <div class="unit">
                <label>
                    Description:
                </label>
                <textarea name="detail" cols="50" rows="5" id="{$domid}_detail">{$datainfo.detail}</textarea>
            </div>
            <div class="unit">
                <label>
                    Keyword:
                </label>
                <input type="text" name="keyword" size="50" value="{$datainfo.keyword}">
				<div class="unit_msg">用英文逗号","隔开</div>
            </div>
            <div class="unit">
                <label>
                    链接优化:
                </label>
                <input type="text" name="url" size="60" value="{$datainfo.url}">
            </div>
            <div class="unit">
                <label>
                    调用资讯关键词:
                </label>
                <input type="text" name="news_keyword" size="50" value="{$datainfo.news_keyword}">
				<div class="unit_msg">用英文逗号","隔开</div>
            </div>
        </div>
    </div>
    <div class="divider">
    </div>
    <div class="panel">
        <h1>添加分类</h1>
        <div>
            <include file="b_form_cate" />
        </div>
    </div>
</div>
<script>
	$('#{$domid}_type').val({$datainfo.type});
</script>